package com.example.ymm.modules1.entity.my;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
public class PdUserLogin implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private String userId;
    private String wxUserId;
    private String username;
    private String userCnName;
    private String password;
    private String remark;
    private String role;
    private String mobile;
    @TableField(fill= FieldFill.INSERT)
    private Timestamp createTime;
    @TableField(fill=FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;
    @Schema(name= "帐号启用状态：0->禁用；1->正常")
    private Integer status;
    @Schema(name= "是否删除：0->未删；1->已删")
    private Integer deleted;
    @Schema(name= "1 自能看自己录的 2 看所有")
    private Integer permission;

}
